<?php

namespace app\controller;


use think\facade\Db;
use think\annotation\route;

class LibraryController
{
    /**
     * @route ("getAllLibraries")
     * @return void
     */
    public function getAllLibraries()
    {
        return json(Db::table("图书馆")->select());
    }
}